package com.gko.numberencoding;


/**
 * The main class
 * 
 */
public class App {

	public static void main(String[] args) {

		final String dictionaryPath = "dictionary.txt";
		final String inputFilePath = "input.txt";
		boolean debugModeEnabled = false; 
		
		// Reading the input parameters
		for (String arg : args) {
			
			// Enables the debug mode
			if (arg.trim().equals("-debug")) {
				debugModeEnabled = true;
			}
		}
		
		PhoneNumberProcessor numberEncoder = new PhoneNumberProcessor(dictionaryPath, inputFilePath, debugModeEnabled);
		numberEncoder.process();
	}
}
